include ../Makefile.tests_common

USEMODULE += grove_ledbar

# set default device parameters in case they are undefined
# the following params are for board pba-d-01-kw2x and pins PA01 and PA02
TEST_GROVE_LEDBAR_CLK ?= 	GPIO_PIN\(0,1\)
TEST_GROVE_LEDBAR_DAT ?= 	GPIO_PIN\(0,2\)
TEST_GROVE_LEDBAR_DIR ?=	GROVE_LEDBAR_G2R

# export parameters
CFLAGS += -DGROVE_LEDBAR_CLK=$(TEST_GROVE_LEDBAR_CLK)
CFLAGS += -DGROVE_LEDBAR_DAT=$(TEST_GROVE_LEDBAR_DAT)
CFLAGS += -DGROVE_LEDBAR_DIR=$(TEST_GROVE_LEDBAR_DIR)

include $(RIOTBASE)/Makefile.include
